package admin_router

import (
	"blog_go/api/admin_api"
)

func (r adminRouterGroup) AdminAdvertRouter() {
	adminAdvertApi := admin_api.AdminApiGroupApp.AdminAdvertApi
	r.POST("/add", adminAdvertApi.AdvertAdd)
	r.GET("/list", adminAdvertApi.AdvertList)
	r.PUT("/update", adminAdvertApi.AdvertUpdate)
	r.DELETE("/del", adminAdvertApi.AdvertDel)
}
